package com.fadadianqi.mall.product.model;

import com.fadadianqi.commons.BaseObject;

/**
 * 商品关键属性值
 * 与 {@link AttrVal} 属于多对一的关系
 * 例如 {@link AttrVal#name} 为分辨率
 * 则 {@link AttrVal#value} 则为 1920×768 8000*600等等多个记录
 *
 * @author aroot
 */
public class AttrVal extends BaseObject {

    /**
     *
     */
    private static final long serialVersionUID = -4257648451257165965L;

    private String attrNameId;

    private String alias; // 别名

    private String val; // 商品条目属性值

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getAttrNameId() {
        return attrNameId;
    }

    public void setAttrNameId(String attrNameId) {
        this.attrNameId = attrNameId;
    }

    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }
}
